import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router);

const test = (resolve) => {
  import('../views/test/test').then((module) => {
    resolve(module)
  })
};

const home = (resolve) => {
  import('../views/home').then((module) => {
    resolve(module)
  })
};

export default new Router({
  routes: [
    {
      path: '/',
      component: home
    }
  ]
});